import os
from multiprocessing.dummy import Process

from flask import Flask, render_template, Response, request
from werkzeug.utils import secure_filename

import img_process

app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = 'static/'

class serve():
    def __init__(self):
        #初始化服务器
        print("aaa")
    def run(self):
        app.run(host='0.0.0.0', threaded=True)




    if __name__ == "__main__":
        app.run(host='0.0.0.0', threaded=True)